package com.xuecheng.user.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @author 勾新杰
 * @version 1.0
 * @description: 手机号已注册
 * @date 2025/2/25 21:01
 */
public class AuthPhoneAlreadyRegisterException extends XCPlusBaseException {

    AuthPhoneAlreadyRegisterException(String msg){
        super(msg);
    }

    public static void cast(){
        throw new AuthPhoneAlreadyRegisterException(AuthError.AUTH_PHONE_ALREADY_REGISTER.getErrMsg());
    }
}
